<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class InitUpdatePackageSku extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('package_skus', function (Blueprint $table) {

            $table->string('node_title', 255)->nullable()->comment('活动标题');
            $table->integer('node_money_price')->unsigned()->nullable()->comment('活动人民币价格');
            $table->integer('node_score_price')->unsigned()->nullable()->comment('活动积分价格');

        });

        Schema::table('package_assets', function (Blueprint $table) {

            // $table->string('node_title', 255)->nullable()->comment('活动标题');
            $table->integer('node_money_price')->unsigned()->nullable()->comment('活动人民币价格');
            $table->integer('node_score_price')->unsigned()->nullable()->comment('活动积分价格');

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
